package com.ruoyi.jjm.mapper;

import java.util.List;
import com.ruoyi.jjm.domain.UserReceive;

/**
 * 村民收煤记录Mapper接口
 * 
 * @author tsr
 * @date 2020-07-15
 */
public interface UserReceiveMapper 
{
    /**
     * 查询村民收煤记录
     * 
     * @param id 村民收煤记录ID
     * @return 村民收煤记录
     */
    public UserReceive selectUserReceiveById(Long id);


    public UserReceive selectUserReceiveByUserOrderId(Long userOrderId);
    /**
     * 查询村民收煤记录列表
     * 
     * @param userReceive 村民收煤记录
     * @return 村民收煤记录集合
     */
    public List<UserReceive> selectUserReceiveList(UserReceive userReceive);

    /**
     * 新增村民收煤记录
     * 
     * @param userReceive 村民收煤记录
     * @return 结果
     */
    public int insertUserReceive(UserReceive userReceive);

    /**
     * 修改村民收煤记录
     * 
     * @param userReceive 村民收煤记录
     * @return 结果
     */
    public int updateUserReceive(UserReceive userReceive);

    /**
     * 删除村民收煤记录
     * 
     * @param id 村民收煤记录ID
     * @return 结果
     */
    public int deleteUserReceiveById(Long id);

    /**
     * 批量删除村民收煤记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteUserReceiveByIds(String[] ids);
}
